﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Windows.Forms;

namespace ROrganizer.UI.Controllers
{
    internal class AboutFormController
    {
        public string GetVersion()
        {
            return Assembly.GetEntryAssembly().GetName().Version.ToString(3);
        }

        public void OpenHomepage()
        {
            Process.Start("http://rorganizer.codeplex.com");
        }

        public void OpenSupport()
        {
            Process.Start("mailto:rorganizer@amacal.pl");
        }

        public void SendFeedback(IWin32Window owner)
        {
            ViewManager.ShowFeedback(owner);
        }
    }
}
